package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.dealer.pojo.PartnerVO;
import com.yunxi.sto.pojo.*;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 车辆移库单 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-28
 */
public interface StoChangeStorageDubboService {

    StoChangeStorageVO getById(String id) throws InvocationTargetException, IllegalAccessException,Exception;

    void saveOrUpdate(StoChangeStorageEditVO stoChangeStorageEditVO) throws Exception;

    void removeById(String id);

    PageInfo<StoChangeStorageQueryVO> findPageByVO(StoChangeStorageQueryVO stoChangeStorageQueryVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<StoChangeStorageVO> stoChangeStorageVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List vinList(PartnerVO vo);

    List storageList();

    void delByList(List<String> list,String billState,String userId)throws Exception;

    StoChangeStorageVehicleInfoVO pdaVehicleInfo(String vin) throws Exception;

    void startChange(StoStockScanVO stoStockScanVO)throws Exception;

    void complete(StoStockScanVO stoStockScanVO) throws Exception;

    void importBatch(List<StoChangeStorageImportVO> list)throws Exception;

    List<StoChangeStorageVO> planListByVin(String vin)throws Exception;

    List<StoChangeStorageExportVO> exportList(StoChangeStorageQueryVO stoChangeStorageQueryVO);
}
